package tech.edwardvan.demospringbootautoconfigure.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 配置文件类
 *
 * @author EdwardVan
 */
@ConfigurationProperties(prefix = "demo-starter")//默认从全局配置文件中获取值
@Data
public class DemoProperties {
    /**
     * 是否启用starter
     */
    private boolean enable = false;
}
